package com.wanter.paper.entity;

import java.io.Serializable;

/**
 * 问题的实体类
 * Created by er on 2017/7/7.
 */
public class Question implements Serializable {
    private String id;//主键
    private String title;//题的标题
    private int quesType;//题的类型
    private String paperId;//属于那一套题的id
    private int items;//题的顺序

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getQuesType() {
        return quesType;
    }

    public void setQuesType(int quesType) {
        this.quesType = quesType;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public int getItems() {
        return items;
    }

    public void setItems(int items) {
        this.items = items;
    }

    public Question(String id, String title, int quesType, String paperId, int items) {
        this.id = id;
        this.title = title;
        this.quesType = quesType;
        this.paperId = paperId;
        this.items = items;
    }

    public Question() {
    }

    @Override
    public String toString() {
        return "Question{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", quesType=" + quesType +
                ", paperId='" + paperId + '\'' +
                ", items=" + items +
                '}';
    }
}
